-
Notifications
You must be signed in to change notification settings - Fork 538
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add understand chapter for HIP Graphs #3571
Conversation
8808c52
to
96b0172
Compare
@MKKnorr CI fails, please fix it. |
96b0172
to
76f6524
Compare
That was just a timeout due to some downloads in the linting failing. The checks passed before. Triggering the pipeline again fixed it |
ab884ed
to
9c57093
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general I think an example would be a great addition, even if it was just pseudocode.
I agree, but that's a better fit for a how-to page. As stated in another comment, that section will most likely not be ready soon. A tutorial is also planned, on top of this documentation |
9c57093
to
0ebb262
Compare
90728f6
to
07dce2f
Compare
07dce2f
to
0f98744
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noticed this is consolidated under PR #3585
I think this PR can be closed in favor of that one.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This image could use a little green, or blue, or yellow.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, that the colour choice was not the best, but I tried to keep it close to the existing colour schemes. I replaced it with a (hopefully) nicer colour set
@@ -146,7 +146,7 @@ For Linux developers, the link [here](https://github.com/ROCm/hip-tests/blob/dev | |||
|
|||
## HIP Graph |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it necessary to have this here? it is not much more than a reference, which shows up two or three times in the index or TOC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, that it's not really needed here, but the programming manual is going to be overhauled and probably incorporated into the runtime api how-to soon, as it is just an amalgamation of snippets on different HIP-topics.
docs/understand/hipgraph.rst
Outdated
HIP graph | ||
******************************************************************************** | ||
|
||
HIP graphs are an alternative way of executing work on a GPU. It can provide |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would eliminate this first paragraph, leave the following Beta note in place, and start this Understanding HIP Graphs topic with the Graph format text (but without the header).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/understand/hipgraph.rst
Outdated
|
||
The standard way of launching work on GPUs via streams incurs a small overhead | ||
for each iteration of the operation involved. For kernels that perform large | ||
operations during an iteration this overhead usually is negligible. However |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
operations during an iteration this overhead is usually negligible. However
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
docs/understand/hipgraph.rst
Outdated
The standard way of launching work on GPUs via streams incurs a small overhead | ||
for each iteration of the operation involved. For kernels that perform large | ||
operations during an iteration this overhead usually is negligible. However | ||
many workloads, including scientific simulations and AI, a kernel performs a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in many workloads, such as scientific simulations and AI, a kernel performs a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
0f98744
to
5f27a8a
Compare
Superseded by #3585 |
No description provided.